package cn.bgs.vo;

import java.time.LocalDateTime;

import cn.bgs.pageUtil.PageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 停车缴费表
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TemporaryCarPark对象", description="停车缴费表")
public class TemporVo{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "临时停车场自增")
    private Integer temporaryCarParkId;

    @ApiModelProperty(value = "车辆id（访客记录的id、可带车）")
    private Integer visitorsRecordId;

    @ApiModelProperty(value = "小区id")
    private Integer communityId;

    @ApiModelProperty(value = "停车时间")
    private LocalDateTime accessTime;

    @ApiModelProperty(value = "时长")
    private Double duration;

    @ApiModelProperty(value = "缴费金额")
    private Double payFees;

    @ApiModelProperty(value = "缴费状态（未缴费、已缴费）")
    private String payFeesState;

    @ApiModelProperty(value = "访问状态（生效中、已失效）")
    private String visitState;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")//DateTimeFormat 是入参格式化；
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")//JsonFormat是出参格式化。
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标志（y是删除 n是未删除）")
    private String deleteFlag;

    @ApiModelProperty(value = "访客名")
    private String visitorsName;

    @ApiModelProperty(value = "车牌号")
    private String vehicleNumber;

    @ApiModelProperty(value = "小区名")
    private String communityName;

    private PageRequest pageRequest;

    private String pc;

}
